<?php
	class UpdateModel extends Model{
			function UpdateModel(){
		parent::Model();
		$this->load->database();
			}
			function index(){
				$data['query']=	$this->db->get_where('gaoji_news', array('newsid' =>6));
				}
		}

?>